import request from '../utils/request'


// 接收基本数据
export let studentget =()=>request({
    url:'/studentget',
    method:'GET'
})


//添加数据
export  let studentadd=( name:String ,age:String , sex:String ,address:String ,date:String)=>request({
    url:'/studengtadd',
    method:'GET',
    params:{
        name,
        age, 
        sex,
        address,
        date
    }
})

//删除数据
export let studentdelete=(multipleSelection:any)=>request({
    url:'/studentdelete',
    method:'GET',
    params:{
        multipleSelection
    }
})
